//
// Created by Administrator on 2021/8/4.
//

#ifndef SAMPLE2_2_DIALOG_H
#define SAMPLE2_2_DIALOG_H

#include <QDialog>


QT_BEGIN_NAMESPACE
namespace Ui { class dialog; }
QT_END_NAMESPACE

class dialog : public QDialog {
Q_OBJECT

public:
    explicit dialog(QWidget *parent = nullptr);

    ~dialog() override;

private slots:
    void on_checkBoxUnderline_clicked(bool checked);
    void on_checkBoxItalic_clicked(bool checked);
    void on_checkBoxBlod_clicked(bool checked);

    void on_rBntRed_clicked();
    void on_rBntBlack_clicked();
    void on_rBntBlue_clicked();

    void setTextFontColor();
private:
    Ui::dialog *ui;
};


#endif //SAMPLE2_2_DIALOG_H
